package service;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import dao.SCDao;

@Service("scService")
@Mapper
public class SCService {
	@Autowired
	private SCDao scDao;
	
	public int addStudent(int studentid,int courseid) {
		return scDao.addStudent(studentid, courseid);
	}
}
